<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<script src="./js/jquery.js"></script>
	</head>
	<body>
		<iframe id="treeFrame" src="./index.html" frameborder="0"
			style="position: fixed;width: 100vw;height: 100vh;display: none;"></iframe>
		<button id="btn">点击我</button>
	</body>
	<script>
		$(function() {
			$('#btn').click(function() {
				$('#treeFrame').show()
			})
		})
		// 获取选中的值
		function getData(data) {
			hide()
			console.log(data)
		}

		function hide() {
			$('#treeFrame').hide()
		}
	</script>
	<style>
		* {
			margin: 0;
			padding: 0;
		}
	</style>
</html>